from typing import List, Optional, Dict, Any
from pydantic import BaseModel
# 定义嵌入向量模型
class EmbeddingModel(BaseModel):
    id: str
    metadata: Optional[Dict[str, Any]] = None
    document: Optional[str] = None
